<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<ui:composition template="../templates/template.xhtml">

	<ui:define name="title">
	 	Web Client Main 
	</ui:define>
	<ui:param name="page" value="home" />
	<ui:define name="header">
		<ui:include src="../header.xhtml" />
	</ui:define>

	<ui:define name="menu">
		<div align="center">
			<h:form id="mennuForm" >
			<h:commandButton value="Back" action="#{clerkRecentFilingPage.back}" styleClass="buttonClass" />
		</h:form>
		</div>
	</ui:define>

	<ui:define name="body">
		<h:form>
			<h:panelGrid columns="1" width="80%" styleClass="outerTable"
				columnClasses="standardTable_ColumnCentered">
				<f:facet name="header">
					<h:outputText value="Recent Filings Table" />
				</f:facet>
				<h:column>
					<h:dataTable id="allPeople" value="#{clerkRecentFilingPage.recentFilingsDataTable}"
						var="recentFiling" styleClass="iCubed" width="100%" rows="10">
						<h:column>
							<f:facet name="header">
								<h:outputText id="content" value="Content" />
							</f:facet>
							<h:outputLabel value="#{clerkRecentFilingPage.recentFilingsDataTable.rowIndex+1}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText id="instatiationTime"
									value="Received Date" />
							</f:facet>
							<h:outputText value="#{recentFiling.instantiationDateTime}" />
						</h:column>
						<!--<h:column>
							<f:facet name="header">
								<h:outputText id="filingID" value="Filing ID" />
							</f:facet>									 
							<h:commandLink value="#{recentFiling.uuid}"
								action="#{recentFilingPage.showCaseDetailPage}">
								<f:param name="caseUuid" value="{recentFiling.uuid}" />
							</h:commandLink>							 
						</h:column> -->
						<h:column>
							<f:facet name="header">
								<h:outputText id="caseType" value="Case Type" />
							</f:facet>
							<h:outputText value="#{recentFiling.caseType}" />
						</h:column>
						<!--<h:column>
							<f:facet name="header">
								<h:outputText id="instatiationTime"
									value="Received Date" />
							</f:facet>
							<h:outputText value="#{recentFiling.instantiationDateTime}" />
						</h:column> -->
                        <h:column>
							<f:facet name="header">
								<h:outputText id="lastEvent" value="Last Event" />
							</f:facet>
							<h:outputText value="#{recentFiling.eventType}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText id="lastEventTime" value="Last Event Time" />
							</f:facet>
							<h:outputText value="#{recentFiling.eventDateTime}" />
						</h:column>
						<!--<h:column>
							<f:facet name="header">
								<h:outputText id="lastEvent" value="Last Event" />
							</f:facet>
							<h:outputText value="#{recentFiling.eventType}" />
						</h:column> -->
						

					</h:dataTable>
				</h:column>
			</h:panelGrid>
		</h:form>
	</ui:define>

</ui:composition>

</html>
